//
//  FeelCell.m
//  OurMenu
//
//  Created by lanou3g on 15/10/14.
//  Copyright © 2015年 尹坤. All rights reserved.
//

#import "FeelCell.h"

@implementation FeelCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatView];
    }
    
    return self;
}

-(void)creatView
{
    self.BVImage = [[UIImageView alloc] init];
    [self.contentView addSubview:self.BVImage];
    
    self.txLabel = [[UILabel alloc] init];
    [self.BVImage addSubview:self.txLabel];
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    
    self.BVImage.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height);
    
    
    self.txLabel.frame = CGRectMake(0, 0, self.contentView.frame.size.width, 80);
    //self.textLabel.font = [UIFont systemFontOfSize:15];
    self.txLabel.numberOfLines = 0;
    [self.txLabel sizeToFit];
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
